package com.guigu.qingcheng.orderservice.service;

import com.guigu.qingcheng.orderservice.entity.MyOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.qingcheng.pojo.order.TbOrder;
import com.guigu.qingcheng.pojo.order.TbReturnOrder;
import com.guigu.qingcheng.utils.R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author testjava
 * @since 2020-07-08
 */
public interface TbReturnOrderService extends IService<TbReturnOrder> {
    R findPagetk (@RequestParam("page") Integer page, @RequestParam("size") Integer size, @RequestBody Map<String,Object> searchMap );

    R findPageth (@RequestParam("page") Integer page, @RequestParam("size") Integer size, @RequestBody Map<String,Object> searchMap );

    R updateOrder(TbReturnOrder tbReturnOrder);

    R deletes(String ids);

    R bhupdateOrder(TbReturnOrder tbReturnOrder);

    R addOrder(TbOrder tbOrder, String radio, String result, String remarks, String yy);

    R updateOrderId(List<MyOrder> myOrders);
}
